package com.dankegongyu.component.push;

import android.app.Application;

import com.igexin.sdk.PushManager;

public class DKPush {

    /**
     * 推送初始化
     */
    public static void init(Context context, DKPushReceiveListener listener) {
        // 个推
        PushManager.getInstance().initialize(context, DKPushService.class);
        PushManager.getInstance().registerPushIntentService(context, DKPushGTIntentService.class);
        DKPushGTIntentService.setPushReceiveListener(listener);

        // 其他推送
    }

}
